package com.main.messagenotificationmanagement.interfaces.dto;

import com.main.common.enums.MessageCategory;
import com.main.common.enums.MessageType;
import lombok.Data;

import java.io.Serializable;

@Data
public class MessageDTO implements Serializable {
    private MessageType type;
    private MessageCategory category;
    private String routeKey;

    // 接收方标识
    private String groupId;
    private String userId;
    private String clientId;

    // 消息内容
    private Object payload;

}